package com.ydd.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuList implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private Integer pid;
    private String path;
    private String component;
    private String title;
    private String icon;
    @JsonProperty("is_show")
    private Integer isShow;
    @JsonProperty("is_cache")
    private Integer isCache;
    @JsonProperty("is_link")
    private Integer isLink;
    private String redirect;
    @JsonProperty("create_date")
    private LocalDateTime createDate;
    @JsonProperty("update_date")
    private LocalDateTime updateDate;
    @JsonProperty("del_flag")
    private Integer delFlag;
    private Integer type;
    private Double sort;
    private String mark;
    @JsonProperty("default_data")
    private String defaultData;
    private List<MenuList>  children;
}
